<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>错误提示页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f9;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .error-container {
            text-align: center;
            background-color: #fff;
            padding: 50px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: 500px;
            width: 100%;
        }
        .error-container h1 {
            margin: 0 0 20px;
            font-size: 36px;
            color: #ff5733;
        }
        .error-container p {
            margin: 0 0 20px;
            font-size: 18px;
            color: #333;
        }
        .error-container a {
            display: inline-block;
            padding: 10px 20px;
            background-color: #ff5733;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        .error-container a:hover {
            background-color: #ff3b13;
        }
    </style>
</head>
<body>
<div class="error-container">
    <h1>哎呀，出错了！</h1>
    <p th:text="'errorCode:'+${error.errCode}">无错误码</p>
    <p th:text="${error.errorMsg}">很抱歉，我们遇到了一个问题，无法完成您的请求。</p>
    <a href="/">返回首页</a>
</div>
</body>
</html>